﻿<%@ Page Language="C#" MasterPageFile="~/GoWLL.master" AutoEventWireup="true" CodeFile="CommunityOperation.aspx.cs" Inherits="CommunityOperation" Title="业务管理 - 我的社区 - G维网" %>
<%@ Register Src="CommunityMenu.ascx" TagName="CommunityMenu" TagPrefix="Menu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceMenu" Runat="Server">
    <Menu:CommunityMenu ID="CommunityMenu1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceMainText" Runat="Server">
    <div id="contenttext">
        <form id="Form1" runat=server>

	        <div class="panel" align="justify">
		        <span class="orangetitle">我的社区业务</span>
		        <span class="bodytext"><br />
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:GoWLLConnectionString %>">
                    </asp:SqlDataSource>
		         </span>
                <asp:GridView ID="GridView1" runat="server" EmptyDataText="您还没有购买任何社区。" Width="400px" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BackColor="#F4F4F4" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="2px" CellPadding="3" Font-Size="13px">
                    <RowStyle ForeColor="#000066" />
                    <Columns>
                        <asp:BoundField DataField="CommunityID" HeaderText="ID" >
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Title" HeaderText="社区名称" >
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="StartDate" HeaderText="购买日期" />
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "CommunityMessage.aspx?co="+Eval("Title") %>' Text="查看社区留言"></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle BackColor="#889966" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
                </asp:GridView>
	        </div>
	    </form>
	</div>
</asp:Content>

